{include inc/top.m.html}
<script>
    var api = frameElement.api, W = api.opener;
    $(function(){
        api.size(270 , 'auto');
    });
</script>
<script src="{__CURTPL_URL__}js/vod.add.js?seo"></script>
<div class="index-main" style="width:100%;margin:0;padding:0 0 20px 0;">
    <table style="width:100%">
        <tr>
            <td class="td left" >
                <div class="input-title">映射
                    &nbsp;
                    <a href="javascript:void(0);" class="getpy" ajaxurl="{url:'admin@system-getpy'}" targetid = "v_sname">拼音</a>
                </div>
                <input type="text" id="v_sname" name="vod[sname]" class="w280 input" value="{$vod['sname']}"/>
            </td>
        </tr>
        <tr>
            <td class="td left" >
                <div class="input-title">关键字</div>
                <input type="text" id="v_key" name="vod[key]" class="w280 input" value="{$vod['key']}"/>
            </td>
        </tr>
        <tr>
            <td class="td left" >
                <div class="input-title">描述</div>
                <input type="text" id="v_desc" name="vod[desc]" class="w280 input" value="{$vod['desc']}"/>
            </td>
        </tr>

        <tr>
            <td class="td left" >
                <div class="input-title">专题模板</div>
                <select  id="v_tpl"  class="select w260">
                    {foreach $tpls $k $v}
                    <option value="{$k}" {$k === 0 ? 'selected' : ''}>{$k === 0 ? '默认' : $v}</option>
                    {/foreach}
                </select>
            </td>
        </tr>
        <tr>
            <td class="td left">
                <input type="button" id="sbtn" class="button" value="确定"/>
                <span id="desc_msg" class="error-tips"></span>
            </td>
        </tr>

    </table>
    <div class="clear"></div>
</div>
{include inc/bottom.m.html}